package model;

import java.sql.Date;

public class Teachers {
	int tid;
	int uid;
	String name;
	Date birthday;
	int sex;
	String avatar;
	String email;
	String address;
	String phone;
	String bio;
	int sjid;
	String qualifications;
	String professional;

	public Teachers(int tid, int uid, String name, Date birthday, int sex,
			String avatar, String email, String address, String phone,
			String bio, int sjid, String qualifications, String professional) {
		super();
		this.tid = tid;
		this.uid = uid;
		this.name = name;
		this.birthday = birthday;
		this.sex = sex;
		this.avatar = avatar;
		this.email = email;
		this.address = address;
		this.phone = phone;
		this.bio = bio;
		this.sjid = sjid;
		this.qualifications = qualifications;
		this.professional = professional;
	}

	public int getTid() {
		return tid;
	}

	public void setTid(int tid) {
		this.tid = tid;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getBio() {
		return bio;
	}

	public void setBio(String bio) {
		this.bio = bio;
	}

	public int getSjid() {
		return sjid;
	}

	public void setSjid(int sjid) {
		this.sjid = sjid;
	}

	public String getQualifications() {
		return qualifications;
	}

	public void setQualifications(String qualifications) {
		this.qualifications = qualifications;
	}

	public String getProfessional() {
		return professional;
	}

	public void setProfessional(String professional) {
		this.professional = professional;
	}

	@Override
	public String toString() {
		return "Teachers [tid=" + tid + ", uid=" + uid + ", name=" + name
				+ ", birthday=" + birthday + ", sex=" + sex + ", avatar="
				+ avatar + ", email=" + email + ", address=" + address
				+ ", phone=" + phone + ", bio=" + bio + ", sjid=" + sjid
				+ ", qualifications=" + qualifications + ", professional="
				+ professional + "]";
	}

}
